package com.tiantianfresh.view.service.impl;

import com.tiantianfresh.model.dao.UserMapper;
import com.tiantianfresh.model.pojo.User;
import com.tiantianfresh.view.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author FANGAO
 * @date 2021/11/27 - 上午 10:06
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User queryUserLogin(User user) {
        return userMapper.queryUserLogin(user);
    }
}
